#!/bin/python

import strict_systemd
import glob
import json


cfgDirObj = strict_systemd.cfg.SysCfgDir()
servCfgObj = cfgDirObj.try_get_service(strict_systemd.ServiceType.DAEMON, name="zram-swap")
servObj = strict_systemd.runtime.DaemonService(True, cfg=servCfgObj)
print(servObj.is_enabled())
